import request from '@/utils/request'

// 查询班级对应学生
export function getStuAll() {
  return request({
    url: '/student/student/findall',
    method: 'get',
  })
}

// 查询班级下拉框
export function getClassAll() {
  return request({
    url: '/student/class/findall',
    method: 'get',
  })
}

// 查询学生跟踪列表
export function listAfter(query) {
  return request({
    url: '/system/after/list',
    method: 'get',
    params: query
  })
}

// 查询学生跟踪详细
export function getAfter(id) {
  return request({
    url: '/system/after/' + id,
    method: 'get'
  })
}

// 新增学生跟踪
export function addAfter(data) {
  return request({
    url: '/system/after',
    method: 'post',
    data: data
  })
}

// 修改学生跟踪
export function updateAfter(data) {
  return request({
    url: '/system/after',
    method: 'put',
    data: data
  })
}

// 删除学生跟踪
export function delAfter(id) {
  return request({
    url: '/system/after/' + id,
    method: 'delete'
  })
}
